package net.lzzy.practices.web.models;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author m
 */
@Getter
@Setter
@ApiModel(description = "创建/更新课程需要的相关参数")
public class CourseInfo extends  BaseInfo {
    @ApiModelProperty("课程名字")
    private String name;
    @ApiModelProperty("课程封面，后端返回的文件路径")
    private String cover;
    @ApiModelProperty("课程简要描述")
    private  String desc;
    @ApiModelProperty("课程创建者的id")
    private String tid;
    @ApiModelProperty("课程是否开放")
    private boolean open;

}
